using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN TrungTamDaoTaoServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:07/10/2010 39:07:23</para>
	/// <para>Class Name: TrungTamDaoTaoServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class TrungTamDaoTaoService : ITrungTamDaoTaoService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: TrungTamDaoTao_ID</para>
		/// <para>Output: TrungTamDaoTaoEntity</para>
		///</summary>
		public TrungTamDaoTaoEntity SelectOne(int TrungTamDaoTao_ID){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.SelectOne(TrungTamDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectOneByMaTTDT</para>
		/// <para>Input: MaTTDT</para>
		/// <para>Output: TrungTamDaoTaoEntity</para>
		///</summary>
		public TrungTamDaoTaoEntity SelectOneByMaTTDT(string MaTTDT){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.SelectOneByMaTTDT(MaTTDT);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of TrungTamDaoTaoEntity</para>
		///</summary>
		public List<TrungTamDaoTaoEntity> SelectAll(){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of TrungTamDaoTaoEntity</para>
		///</summary>
		public List<TrungTamDaoTaoEntity> SelectAllFilter(string strFilter){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Save</para>
		/// <para>Input: TrungTamDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(TrungTamDaoTaoEntity o){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Save</para>
		/// <para>Input: TrungTamDaoTaoEntity</para>
		/// <para>Output: TrungTamDaoTaoEntity</para>
		///</summary>
		public TrungTamDaoTaoEntity SaveRet(TrungTamDaoTaoEntity o){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of TrungTamDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<TrungTamDaoTaoEntity> list){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of TrungTamDaoTaoEntity</para>
		/// <para>Output: List of TrungTamDaoTaoEntity</para>
		///</summary>
		public List<TrungTamDaoTaoEntity> SaveListRet(List<TrungTamDaoTaoEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Update</para>
		/// <para>Input: TrungTamDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(TrungTamDaoTaoEntity o){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of TrungTamDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<TrungTamDaoTaoEntity> list){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateMaTTDT</para>
		/// <para>Input: NewMaTTDT,TrungTamDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMaTTDT(string NewMaTTDT,int TrungTamDaoTao_ID){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.UpdateMaTTDT(NewMaTTDT,TrungTamDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateTenTTDT</para>
		/// <para>Input: NewTenTTDT,TrungTamDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateTenTTDT(string NewTenTTDT,int TrungTamDaoTao_ID){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.UpdateTenTTDT(NewTenTTDT,TrungTamDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateGhiChu</para>
		/// <para>Input: NewGhiChu,TrungTamDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateGhiChu(string NewGhiChu,int TrungTamDaoTao_ID){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.UpdateGhiChu(NewGhiChu,TrungTamDaoTao_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Delete</para>
		/// <para>Input: TrungTamDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(TrungTamDaoTaoEntity o){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: TrungTamDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int TrungTamDaoTao_ID){
			TrungTamDaoTaoDAO dao = new TrungTamDaoTaoDAO();
			return dao.DeleteByID(TrungTamDaoTao_ID);
		}
		#endregion

		#region Select,delete by TrungTamDaoTao_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END TrungTamDaoTaoWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

